/**
 * @filename:SysUploadConfig 2022年1月27日
 * @project Wonder wallet Framework  V1.0
 * Copyright(c) 2020 LuZhongren Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.admin.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;


/**   
 * @Description:TODO(上传参数配置实体类)
 * 
 * @version: V1.0
 * @author: LuZhongren
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_upload_config")
@ApiModel(value="upload_config对象", description="上传参数配置表")
public class SysUploadConfig extends Model<SysUploadConfig> {

	private static final long serialVersionUID = 1644198880852L;
	
	@TableId(value ="id", type = IdType.AUTO)
	@ApiModelProperty(name = "id" , value = "")
	private Integer id;
    
 	@TableField(value = "title")
	@ApiModelProperty(name = "title" , value = "配置名称")
	private String title;
    
 	@TableField(value = "upload_replace")
	@ApiModelProperty(name = "upload_replace" , value = "覆盖同名文件")
	private Integer upload_replace;
    
 	@TableField(value = "thumb_status")
	@ApiModelProperty(name = "thumb_status" , value = "缩图开关")
	private Integer thumb_status;
    
 	@TableField(value = "thumb_width")
	@ApiModelProperty(name = "thumb_width" , value = "缩放宽度")
	private String thumb_width;
    
 	@TableField(value = "thumb_height")
	@ApiModelProperty(name = "thumb_height" , value = "缩放高度")
	private String thumb_height;
    
 	@TableField(value = "thumb_type")
	@ApiModelProperty(name = "thumb_type" , value = "缩图方式")
	private Integer thumb_type;
    

	@Override
    public Serializable pkVal() {
        return this.id;
    }
}
